/*
 * @Author: jawen jawen.9@outlook.com
 * @Date: 2025-05-30 18:19:10
 * @LastEditors: jawen jawen.9@outlook.com
 * @LastEditTime: 2025-07-21 16:31:28
 * @FilePath: \yujn\src\router\index.js
 * @Description: 这是默认设置,请设置`customMade`, 打开koroFileHeader查看配置 进行设置: https://github.com/OBKoro1/koro1FileHeader/wiki/%E9%85%8D%E7%BD%AE
 */
import { createRouter, createWebHistory } from 'vue-router';

const routes = [
    {
        path: '/',
        name: 'Home',
        component: () => import('../views/Home.vue')
    },
    {
        path: '/video',
        name: 'Video',
        component: () => import('../views/Video.vue')
    },
    {
        path: '/archive',
        name: 'Archive',
        component: () => import('../views/Archive.vue')
    },
    {
        path: '/about',
        name: 'About',
        component: () => import('../views/About.vue')
    },
    {
        path: '/featured',
        name: 'Featured',
        component: () => import('@/views/Featured.vue')
    }
];

const router = createRouter({
    history: createWebHistory(),
    routes
});

export default router;